import request from '@/utils/request'

export const loadMenu = (params: any): any => {
    return request.post({ url: '/wisdbook/dir/list', params })
}

export const addMenu = (params: any): any => {
    return request.post({ url: '/wisdbook/dir/add', params })
}

export const delMenu = (params: any): any => {
    return request.post({ url: '/wisdbook/dir/del', params })
}

export const updateMenu = (params: any): any => {
    return request.post({ url: '/wisdbook/dir/edit', params })
}

